ignore media files
fixes #1 distinguish button clicks, add close notification api and button to demo