Guys!
I have another question, how can I assign the same function as a callback in a dialog? Let's say I have three buttons in one dialog and I created a function that validates the events and item that calls the function, do I have to assign the callback to the whole window?
Thank you!