Dismissing poll mode hides all opened modals