Edit database dialog can't save password