I have a link..when it's clicked on it activates a function called Add_record. This function creates a new EXTJS window..and puts a new EXTJS form inside that window. What happens is if I open (and then either close, submit, or his the x button) on the window..when I open it back up there are 2 forms. If I close/reopen then there are 3 forms. It opens a new form for each time I open it. Is there a way to completely destroy the form/window from existence when the function closes so a new form i created each time?