Rosedale library to close for nearly $1M renovation