make modal a bit less shit