Still integrating new gui with dialog's code