Fixed bug with modal identifiers