Separatable modal dialog button for when button is on navbar and z-index is mixed up.