preparing gui components,
add mark dialog