add content type for ajax requests to fix prompt bug when creating new
topics.