Fix BottomSheetDialog when it is short

The bottom sheet is now properly laid out when the content is shorter
than the specified peek height.

This also fixes unwanted canceling when pulling up a short modal bottom
sheet.

Bug: 27350772
Change-Id: I8f44eabbd96c322fa3039683b05c123d3cce9749
8 files changed