Addresses MCKIN-2588. Defer to foundation's class for positioning.

 Prevent the dialog from being too tall, and when the content is too tall, make it scrollable.
@marjev - can you take a look at this, sorry I stole it from you, but it was bugging me!