Properly integrate the countdown script

- Use an identifier instead of a class, as it should be
- Do not duplicate jquery imports, as it should be
- Use $this instead of parsing the DOM again, as it should be
Fix displaying the dialog multiple time by not caching is and resetting it on close