Improved behaviour of tabs in domain editor.