Fixed: Global Settings Dialog couldn't be closed by pressing ok.