Dynamic Option Handling in edit_page

Dynamic option handling in edit_page with query.