a dialog module for mobile browser