Dialog layout fixes.