precisions for ui-menu to close