finalized some option dialog stuff