Adding delete and add modal dialog boxes to the layers page.

Adding the delete and add modal dialog boxes for the layers page. There are still a few TODOs though, namely enabling the delete and add layer code and I wasn't sure what to do with the new data source and edit other settings buttons. Also the thumbnail view seems out of place here as we're creating a layer.