I'm trying a yes_no dialog. but following the example code for listners dosen'y seem correct.
The dialogs is a shared resource right? well I see interference when I'm using yes'_no dialog. My dialog events for example will fire when pressed in another dialog (permission dialog for notification in firefox).
Sets the given listener as the only listener for the given button.
I set the setbuttonlistner on init of my zimlet.
so when I use this I set the even as the only event for this dialog. and other code that use the same dialog will get it as well. is this a bug or by design. isn't I'm suppose to use the dialog api in zimlets?