Depending on the implementation of the GHM drop down menu, then this might not even be needed anymore. The purpose of these lines  is to hide the drop down if the user changes to another page in the wizard. Does the new GHM drop down automatically hide when its parent is hidden?