Add settings modal

This commit puts the settings-modal back in, and converts it to do
things the angular way.