Prevent crash when removing the event's last photo
Issue is that this would destroy the event and destroy the media page, afterwards trying to update the undo list on the now destroyed view https://bugzilla.gnome.org/show_bug.cgi?id=786531
parent
1786a3a6