Main window: Doc deletion: Select "New document" when done

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