Get note dialog working (other than the return value)