Fixes for modal dialog in responsive theme