cleanup of locking and rankings modal