====Problem
This task proposes changes in the behavior of device back key to improve the story creation experience.
====Design
**01. Current behavior of story builder page.**
A tap on the device's back key brings user out of the story builder.
|{F35568719 width=260}|
**01a. Proposed behavior of story builder page.**
|{F35728901 width=260}|
- A tap on the device's back key should bring up a confirmation dialog box.
- Tap on Discard would take user out of story builder.
- Tap on Cancel would take user back to story builder page.
//Note: we can use existing confirmation dialog box(class="ext-wikistories-confirm-content") here. //
----
**02. Current behavior of publish page.**
A tap on the device's back key brings user out of the story.
|{F35727655 width=260}|
**02a. Proposed behavior of publish page.**
A tap on the device's back key should bring user back to the story builder.
---
**03. Current behavior of highlight text page.**
A tap on the device's back key brings user out of the story.
|{F35727674 width=260}|
**03a. Proposed behavior of highlight text page.**
A tap on the device's back key should bring user back to the story builder.
---
**04. Current behavior of overflow menu.**
A tap on the device's back key brings user out of the story builder.
|{F35727678 width=260}|
**04a. Proposed behavior of overflow menu.**
|{F35728901 width=260}|
- A tap on the device's back key should bring up a confirmation dialog box.
- Tap on Discard would take user out of story builder.
- Tap on Cancel would take user back to story builder page.
---
**05. Current behavior of image selection screen.**
A tap on the device's back key brings user out of the story.
|{F35727680 width=260}|
**05a. Current behavior of image selection screen.**
|{F35728901 width=260}|
- A tap on the device's back key should bring up a confirmation dialog box.
- Tap on Discard would take user out of story builder.
- Tap on Cancel would take user back to story builder page.
//Note: we can use existing confirmation dialog box(class="ext-wikistories-confirm-content") here. //
===Acceptance Criteria
1. On the image selection page --> display the confirmation dialog box.
2. On the //Publish// page --> take the user to the text entry screen
3. O the text entry page > take user to the image selection screen
4. When the overflow menu is invoked --> display the confirmation dialog box.
===Test Scenarios
1. Verify all acceptance criteria are met.
2. Verify functionality on android and iOS mobile devices, as well as on major browsers.