added param types to display_alert docstring