Add animations to widgets

when you press the back key,the widgets will be dismiss.The dialog could
be contain long text.