closing some divs for the application new and another one