Consolidate code that enables the return key on alerts into `PSPDFAlertView` itself.