fix tsunami filter and add alert message while editing