The working modal form. Controller for handling the posted data