fix ui element event binding for source-menu hide