A few more ui edits-bootstrap move

fixed a few issues on Edit device pages, added delete confirm for
metrics.