refactor on click function on modal dialog. rel: GCP-8880