Perform dropdown collapse when clicked on iframe