Implements #955

- New API /action?action=close
- New Close button