reworked to add in navigation class controls, removed selector (too expensive to compute dom element styles when pulled from original context and placed in modal)