Added a fix regarding adding new file window.