Fix issue with 'editing' not kicking user back to homepage