dialog hang
debugging form submit
mvoed thanks div into content and removed console.logs for debugging