Stopped flicker on dialog open

Martyn noticed window flicker when the dialog was started, this seemed to be because of a delay between the QStackLayout being initialised and beng added to the dialog. They are now added as soon as they can be after initalisation.

Refs #7865