Add ajax callback to create a new entity post