Use lambda methods for task actions

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Allow to leave the dialog open

Signed-off-by: Sven Strickroth <email@cs-ware.de>