callback in modal show removed from global scope
trunk js modal fix
merging github history changes.