it's good error)))
you can not close window until submit() not done!
use code like this


in controller


doFilter: function() {
var wnd = this.getWindowFilter();