improved option dialog