prevented queue-button from opening multiple modals