sample page modal init bug complete