Fix BPasswordDialog

Fix "unchecking" BPasswordDialog save and show buttons.