add listener

** cancel (parameters panel)
** quit (main window)