finish activity after click on dismiss

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