Added CloseAll function to initiate close of modules