First version that shows a tab when calling to Dialog.show()