Added dismissviewcontroller again after deletion