distinguishing popup close animations with NS_ENUM ref #6