fixed Dialog close button and Tabs.render()