more intelligent task dialog container

less code == better
cleanup docs
add dialog buttons stdlib module