ajaxified upload. integrate attachment as modal dialog in the edit page