fixed contextual action mode not shutting down properly