Dialog Box on Delete  + optimization