Make that if (mAssignDialog)...