Frontend: Main window: Fix page deletion: Page must be removed from the index as well

Signed-off-by: Jerome Flesch <jflesch@gmail.com>