add password dialog script