logic for saving summary
adjust animation for hiding modal
fix modal titlebar height on mobile