new and edit redirects to topic index, added flash message