change gui so it uses tabs instead of dialogs