webdialog instance in IDE

I designed a webdialog with a few controls on it.
I dragged and dropped it onto my webPage and it shows up as an icon at the bottom of the IDE.

I build my project test it and find it works well.
I change the original webdialog and rebuild the application, but the changes to the instance of the webdialog are still the previous version.
Why?

Have you tried to remove the instance and drag a new one ?

Yes, that ‘works’, but then all the methods i’ve defined for the instance are lost or have to be moved in manually.

Even if the instance has the same name ?

hmm… Let me check.