Added window.close to Add Stock window