Added option dialog for adding/editting

It worked!