confirm delete, dismiss dialogs

made sure to confirm before deleting a profile, fixed create profile
dialog from not dismissing