stock price update dynamically. modal doesnt close on submit