Close actionview when the x is selected.