cleanup unused modal trigger
posting form data to Resource controller and saving to database