fix bug in selections modal