Widget now closes and re-initializes on submit