Combine 3 prompt into one

Known issues
#line 18: dom.selectAll(); may cause some problems, need to know how to
add the new rectangle to original selection.