1) The window isn't minimized, it is just placed behind the window you clicked on.
2) It doesn't save the file, the only thing it does is indent your code and check your {}s.
I tried this by opening an existing script, adding 'a' to the end of the file, pressing the {} button and finally pressing cancel, mIRC asked if I wanted to save the file because it had been changed.