This might be of use Specifically the overlay bits, you can stick to only registering one back button action.
overlay