fix sample contents import dialog
use lower logging level
remove unused code
always return a result for AJAX calls