implement a password editor dialog