Added close action to window for action helpers