Better support for alert with dict for specifying alert values.