Fixes for layout in modal view.