Prepare to release 3.0 version

Added close dialog listener