Interfaces for DialogBuilder and Dialog.