improve action view dismiss