Added settings button to dialog