Modal: fixes dimmer and modal to use two separate checks for active status