hide leave button