auto align labels for modals