hooked up new modal functionality to database.

Categories and suggested tags now sent to database, and are getting stored correctly.