Added confirmation dialogue for deleting a profile