Separated the dialog wrapper from the actual dialog so that we can have a fixed background, and a absolute positioned modal to get a layout that is the best for the user