reverting to old version of this file since it broke some pop ups -Tyler