add demo code

demo code for destructive style and mode foreground