password dialog and codereview