fix selector for modal if flex fix