this is a source code of android dialog demo