Adding types instead of var for stores used in qml components Closes: #14801
Also switched StatusModal to derive from StatusDialog instead of Popup type Closes #10149