attempt at js modal dialog push