improve 'allow_dismiss' ui .