adding modal with javascript and destroy function. Forgot to take TDD approach first. Will create tests next