Fix problem with navigation on master detail after modals
was disconnecting the events