Fix ConfigDialog::removePagesForPlugin
Actually remove the pages instead of just removing them from the list