Completed update to allow for dismissal callbacks - fixes #6

Updated the demo and README with examples of all usage cases.