Added readonly option for password entry dialog