added a dialog when save a data, and divided a tabs.