Style a model to match alert using built-in css styles

I want to create a modal dialog which has the same styling as the alert dialogs. Can I re-use the same built-in css styles that the alert uses to style the header and buttons? For example, I see the alert uses the following classes (among others):

  • alert-wrapper
  • sc-ion-alert-ios
  • alert-button-group
  • sc-ion-alert-ios

I need a modal because my dialog is more complex than the alert can provide - it has a time picker component.

I will include the Cancel and OK buttons at the bottom. But I’d like to style them using the built-in alert style classes (which adapt to the platform mode) rather than try to recreate the styles.