Added form change handlers and automatic form submit