Fixes last issues with the setExtent plugins. Close button work properly, and it works with standard mapfile.