add edit and delete dialog (stolen from jquery mobile's example) and add templates folder