* Force close the modal without checking for unsaved changes. * Use this after a successful save or when discarding is intentional.
()
| 265 | * Use this after a successful save or when discarding is intentional. |
| 266 | */ |
| 267 | forceClose(): void { |
| 268 | this.pendingClose = true; |
| 269 | super.close(); |
| 270 | } |
| 271 | |
| 272 | /** |
| 273 | * Override close() to detect unsaved changes and prompt user. |
no test coverage detected