close app when you dismiss progress dialog

Signed-off-by: Grarak <williye97@gmail.com>