refactor code. use iplant dialog, add help tool and mark required fields