Bug 874155 - [SMS] Handle the edit mode without using the location hash