AI OnAI Off
parent.frames["EditPanel"].location.href = "myplugin.aspx";
Also, make sure you have the following script in your .aspx file to make it aware of change events from other parts of edit mode:
/Steve