DAR-2696, fix broken layout with open modal