Added hint dialog and confirmation dialog