improved dialog which utilizes tabs widget