Fail gracefully if there is no edit tab

For example, LiquidThreads pages, pages which are using DynamicTabs, etc.

Change-Id: I6b059dd76c150ee7fefb087aefe7fcccf41a3a43
Merge "Fail gracefully if there is no edit tab"