cleaning up action dialog