Prevent dialog from resizing