Added the ability to execute methdos when the pop up / drop down is open or closed.