use preventDefault() to change div in form to wrapping input-button form