Close flyout by clicking anywhere outside of it