Adjusts spacing for error elements.
Makes dialog modal.