Dialog - with response

submit sets localstorage value to 'test value'

cancel sets localstorage value to 'close'