button and dialog added