removing dialog, using only bash.

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>