title: codenameone wait dialog
body: <p>I want to show a dialog for a while (for instance 2 seconds) when some event happened like when SMS received and after 2 seconds it hide automatically.</p>
  
  <p>How can I do it in codenameone?</p>