moved checkbox into dialog in order to force setting of password when activating it