Bug 996321 - Position prompt dialog at the centre of the viewport