Add support for back button in nested overlays

Change-Id: I10d63549ed3b2029557abab627eb34bd0f700e30
Merge "Add support for back button in nested overlays"