Waiting, I made a custom module who handles the form submission and creates the object, but it seems that the content_actionhandler.php could make the same thing without the need of writing a custom module.
This is very usefull and faster that writing a module for small things.