implement addClass
start new tiny components (dialog & button)