override portal doc click events