Add arc support to dialog and draw method