Added confirmation dialog for deleting file action
Merged add and edit views