Prevent the ACE editor from overlapping the modal window (see #6497)