css clean up
refactor code. use iplant dialog
core-3818 add validation logic and json conversion