repaired edit action for forums&topics with do_ajax variable (overrode String class with to_bool method). It-s true for new, and false for edit. Also, the id for the topic form includes the title.