move some dialog-only flags to proper variables, namely