Layout adjustments for guidelines modal, for issue #1274