Fix modal bug in pull #272 and do cleanup.

1. fixed a bug with run not having $modal specified in the args
2. switched backdrop=false
3. put a better header and updated the modal dialog
4. fixed some indentation