Added the Dialog. However, been unable to get json upload to work. Will change my method to use a textarea input instead.