added Dialog template and menu template

awaiting JS code for them