Fixed modal window overlap bug