Begin closing modal bar before switching documents in Quick Open