modal resetting data