Divide Site module settings into "settings" and "close" actions.
Fix site closing