Added the close all modules for the edit page.