Some fixes to the new session dialog.