How is it possible to close a window which contains a button called
NEXT-WINDOW and on clicking this button I should be able to close this
window without deleting it and open another window. In the next window
there is one another button called PREVIOUS-WINDOW and on clicking this
button this window should be closed and the previous window should be
opened.