$('#propose_submit').click(function(event){
    event.preventDefault();
    $('#tos-dialog').dialog({width: '500px'});
    $('#agree').click(function(){
        $('#propose-topic').submit();
    });
    $('#cancel').click(function(){
        $('#tos-dialog').dialog('close');
    });
});

$('#propose_submit').click(function(event){
    event.preventDefault();
    $('#tos-dialog').dialog({width: '50%', modal: true, height: 600});
    $('#agree').click(function(){
        $('#propose-topic').submit();
    });
    $('#cancel').click(function(){
        $('#tos-dialog').dialog('close');
    });
});

Improve ToS Agreement on Topic submission
Improve ToS Agreement on Topic submission

Right now the ToS is not visible or clickable on smaller devices. The
width is too large, and the lack of a max height prevents the user from
scrolling to see the whole modal.

This PR is a hacky improvement to just ensure that one is able to scroll
down if the text isn't visable. It also dictates that modals should be a
percentage of the total, not a fixed width size.
