micro refactor create page modal