WIP: Timeout dialog, refs #20389

Final CSS.
Time formatted and time unit measurement added.
Cleanup JS.