Finished Dialog implementation