Don't allow toggling inventory or journal when a modal window is opened