Fixed controller not being able to open another XML (without closing).