Fixes for dialog size