Trigger custom jQuery events for open/close events