Use modal instead pop-up to remove object. 
(Work in progress, page needs to be refreshed manually)