Make "Add" an OK button, then add the following code to your dialog:

Code:
on *:dialog:Message_Chans:sclick:2:{
  <code to add whatever>
  halt
}


The /halt is so the dialog doesn't close as it normally would when you hit an OK button.